What is the purpose of the 'defaultProps' property in a React component?
The 'defaultProps' property allows you to set default values for props if they are not explicitly provided when the component is used. This ensures that the component behaves as expected even if certain props are missing.